﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include "GcmpDwgDxfInterface.h"
#include "DwgExportData.h"
#include "ICADTextStyle.h"

namespace gcmp
{
    class IModelView;

    /// \brief 自定义文字样式设置
    class GCMP_DWG_DXF_INTERFACE_EXPORT ICADTextStyleCustomize
    {
    public:
        /// \brief 获取文字样式名称
        ///
        /// \return 文字样式名称
        virtual const std::wstring GetCADTextStyleName(const IModelView* pModelView, const gcmp::GNodeParam& param) const = 0;

        /// \brief 析构函数
        virtual ~ICADTextStyleCustomize();
    };
}